package cn.stylefeng.guns.modular.make.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.make.entity.MakeRailwayPlatform;
import cn.stylefeng.guns.modular.make.model.params.MakeRailwayPlatformParam;
import cn.stylefeng.guns.modular.make.model.result.MakeRailwayPlatformResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 月台管理 服务类
 */
public interface MakeRailwayPlatformService extends IService<MakeRailwayPlatform> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2022-09-21
     */
    void add(MakeRailwayPlatformParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2022-09-21
     */
    void delete(MakeRailwayPlatformParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2022-09-21
     */
    void update(MakeRailwayPlatformParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2022-09-21
     */
    MakeRailwayPlatformResult findBySpec(MakeRailwayPlatformParam param,Long operateId);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2022-09-21
     */
    List<MakeRailwayPlatformResult> findListBySpec(MakeRailwayPlatformParam param,Long operateId);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2022-09-21
     */
     LayuiPageInfo findPageBySpec(MakeRailwayPlatformParam param,String condition,Long operateId);

}
